//
//  VideoViewController.m
//  ShopView
//
//  Created by HJ on 2017/3/10.
//  Copyright © 2017年 HJ. All rights reserved.
//

#import "VideoViewController.h"


@interface VideoViewController ()

@end

@implementation VideoViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.view.backgroundColor=[UIColor whiteColor];
    if ( self.styple==1) {
        [self creatPicture];
    }else{
        [self creatVideo];
    }
    
}

-(void)creatPicture{
    UIImageView *imag=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, MainW, MainH)];
    
    [imag sd_setImageWithURL:[NSURL URLWithString:self.picUrl] placeholderImage:[UIImage imageNamed:@""]];
    [self.view addSubview:imag];
}
-(void)creatVideo{
    
}

@end
